From: Eli Zaretskii Date: Sat, 24 Apr 2010 07:36:27 +0000 (+0300) Subject: Fix GDB startup with src/.gdbinit. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~324^2~8021 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=7617e0219f07f3dacbb5f256f9380250058a3cf7;p=emacs.git Fix GDB startup with src/.gdbinit. .gdbinit: Add a "set Fmake_symbol" line to force GDB load the definition of "struct Lisp_Symbol". --- diff --git a/src/.gdbinit b/src/.gdbinit index 32b3827b22d..5ecdaa4a572 100644 --- a/src/.gdbinit +++ b/src/.gdbinit @@ -21,6 +21,8 @@ # Force loading of symbols, enough to give us gdb_valbits etc. set main +# With some compilers, we need this to give us struct Lisp_Symbol etc.: +set Fmake_symbol # Find lwlib source files too. dir ../lwlib diff --git a/src/ChangeLog b/src/ChangeLog index 601491901a7..8f04f08ab7c 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2010-04-24 Eli Zaretskii + + * .gdbinit: Add a "set Fmake_symbol" line to force GDB load the + definition of "struct Lisp_Symbol". + 2010-04-24 Glenn Morris * Makefile.in (CRT_DIR): New variable, set by configure.